const express = require('express')
const app = express()
const path = require('path')

// 托管静态目录
app.use(express.static(path.join(__dirname, 'views')))
app.use(express.static(path.join(__dirname, 'assets')))


app.listen(3000, () => {
  console.log('server is running on port 3000')
})